package cn.kpt.biz.service.impl;

import cn.kpt.beans.pojo.ItripHotel;
import cn.kpt.biz.service.HotelService;
import cn.kpt.dao.itriphotel.ItripHotelMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @version 1.0
 * @ClassName HotelServiceImpl
 * @Description TODO
 * @Author kangpengtao
 * @Date 2019/10/16 15:31
 */
@Service
public class HotelServiceImpl implements HotelService {
    @Resource
    private ItripHotelMapper itripHotelMapper;

    @Override
    public ItripHotel queryHotelById(Long hotelId) throws Exception {
        return itripHotelMapper.getItripHotelById(hotelId);
    }
}
